//
//  BaseViewController.swift
//  HHSwift
//
//  Created by 华宏 on 2019/1/29.
//  Copyright © 2019年 huahong. All rights reserved.
//

import UIKit

class BaseViewController: UIViewController {


    override func viewDidLoad() {
        super.viewDidLoad()

        self.view.backgroundColor = .white
        
        let rightItem = UIBarButtonItem(barButtonSystemItem: .bookmarks, target: self, action: #selector(topRightAction))
        self.navigationItem.rightBarButtonItem = rightItem
        
    }
    

  @objc  func topRightAction() {
        
    }
    
    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destination.
        // Pass the selected object to the new view controller.
    }
    */

}
